<?php

namespace Admin\Mapper;

use Base\Mapper\AbstractDbMapper;
use Zend\Stdlib\Hydrator\HydratorInterface;
use Zend\ServiceManager\ServiceManager;


class AdminRole extends AbstractDbMapper
{
    protected $tableName = 'user_role';
    
    public function fetchAll()
    {
        $select = $this->getSelect();
        $roles = $this->select($select);
        return $roles;
    }
    
    public function getTableName()
    {
        return $this->tableName;
    }

    public function setTableName($tableName)
    {
        $this->tableName=$tableName;
    }

    
} 